import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import './styles/index.scss'
import zhCN from 'element-plus/es/locale/lang/zh-cn'
import router from './router'
import pinia from './store'
import globalComponent from './components'
import './permission'

const app = createApp(App)

app.use(globalComponent)
app.use(ElementPlus,{
  locale:zhCN
})
app.use(router)
app.use(pinia)

app.mount('#app')
